// actions.js
export const LOGIN = 'LOGIN';
export const LOGOUT = 'LOGOUT';

export function login(account: any, code: any) {
    return { type: LOGIN, account: account, code: code };
}

export function logout() {
    return { type: LOGOUT };
}



